home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Varsity Update 1998 August
/
SGI Varsity Update 1998 August.iso
/
dist
/
dist6.5
/
il_dev.idb
/
usr
/
include
/
il
/
ilVkImgAttrDialog.h.z
/
ilVkImgAttrDialog.h
Wrap
C/C++ Source or Header
|
1998-07-29
|
3KB
|
108 lines
//////////////////////////////////////////////////////////////
//
// Header file for ilVkImgAttrDialog
//
// This file is generated by RapidApp 1.2
//
// This class is a ViewKit VkDialogManager subclass
// See the VkDialogManager man page for info on the API
//
// Restrict changes to those sections between
// the "//--- Start/End editable code block" markers
// This will allow RapidApp to integrate changes more easily
//
// This class is a ViewKit user interface "component".
// For more information on how ViewKit dialogs are used, see the
// "ViewKit Programmers' Manual"
//
//////////////////////////////////////////////////////////////
#ifndef ILVKIMGATTRDIALOG_H
#define ILVKIMGATTRDIALOG_H
#include <Vk/VkGenericDialog.h>
//---- Start editable code block: headers and declarations
#include <il/ilVkImgAttrDeck.h>
//---- End editable code block: headers and declarations
//---- ilVkImgAttrDialog class declaration
class ilVkImgAttrDialog: public VkGenericDialog {
public:
ilVkImgAttrDialog ( const char * name );
~ilVkImgAttrDialog();
const char *className();
//---- Start editable code block: public
void initAttributes(ilImage* src, iflFormat* format)
{ _src = src; _format = format; }
iflFileConfig* getFileConfig()
{ return _attrDeck->getFileConfig(); }
ilCallback* getSaveCallback()
{ return _attrDeck->getSaveCallback(); }
iflFormat* getFormat() { return _attrDeck->getFormat(); }
//---- End editable code block: public
protected:
virtual Widget createDialog ( Widget );
Widget prepost ( const char *msg,
XtCallbackProc okCB,
XtCallbackProc cancelCB,
XtCallbackProc applyCB,
XtPointer clientData,
const char *helpString,
VkSimpleWindow *parentWindow);
// Classes created by this class
class ilVkImgAttrDeck *_attrDeck;
// Widgets created by this class
// Member functions called from callbacks
virtual void apply ( Widget, XtPointer );
virtual void cancel ( Widget, XtPointer );
virtual void ok ( Widget, XtPointer );
//---- Start editable code block: protected
//---- End editable code block: protected
private:
// Callbacks to interface with Motif
//---- Start editable code block: private
ilImage* _src;
iflFormat* _format;
//---- End editable code block: private
};
//---- Start editable code block: End of generated code
//---- End editable code block: End of generated code
#endif